"use strict";
//枚举名和命名常量都是用首字母大写
var FlexAlign;
(function (FlexAlign) {
    FlexAlign[FlexAlign["Left"] = 10] = "Left";
    FlexAlign[FlexAlign["Center"] = 20] = "Center";
    FlexAlign[FlexAlign["Right"] = 11] = "Right";
})(FlexAlign || (FlexAlign = {}));
let p = FlexAlign.Center;
//数字枚举会自动自增
console.log(FlexAlign.Left); //10
console.log(FlexAlign[10]); //Left
console.log(FlexAlign.Center); //20
console.log(FlexAlign.Right); //11
